<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
	String message = (String) request.getAttribute("message");
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Analytic Hierarchy Process</title>
<link href="./resources/style/mainStyle.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
	window.onload = function(){
		if("<%=message%>" != "null" ){
			alert("<%=message%>");
		}
		
	}
</script>

</head>
<body>
	<br/>
	<div align="center">
		<div class='box' style="width: 60%" align="center">
			<div class='boxtop'><div></div></div>
		  		<div class='boxcontent'>
		  			<form action="./project" method="post">
		  				<table>
		  					<tr>
		  						<td align="right">Project Name :</td>
		  						<td align="left"><input type="text" size="30" name="projectName" id="projectName"/></td>
		  					</tr>
		  					<tr>
		  						<td align="right">Goal :</td>
		  						<td align="left"><input type="text" size="40" name="goal" id="goal"/></td>
		  					</tr>
		  					<tr>
		  						<td align="center" colspan="2"><input class="button" type="submit" value="Create Project" /></td>
		  					</tr>
		  				</table>
		   			</form>
		  		</div>
		 	<div class='boxbottom'><div></div></div>
		</div>
	</div>
	
	<br/>
	<div align="center">
		<div class='box' style="width: 60%" align="center">
			<div class='boxtop'><div></div></div>
		  		<div class='boxcontent'>
		  			<form action="./projectList" method="get">
						<input class="button" type="submit" value="Open Existing Projects" />
		   			</form>
		  		</div>
		 	<div class='boxbottom'><div></div></div>
		</div>
	</div>
</body>
</html>